# python3.6.5
# 需要引入requests包 ：运行终端->进入python/Scripts ->输入：pip install requests
from lib.ShowapiRequest import ShowapiRequest

r = ShowapiRequest("http://route.showapi.com/184-4","543338","33f56ce829e2499e8e8dc6f84a7ea642" )
r.addFilePara("image", "yzm.png")
r.addBodyPara("typeId", "34")
r.addBodyPara("convert_to_jpg", "0")
r.addBodyPara("needMorePrecise", "0")
res = r.post()

# 取到具体的数字
# yzm = res.json()['showapi_res_body']['Result']

print(res.text) # 返回信息